﻿using System;
using System.Collections.Generic;

namespace Meqs.Entity
{
    [Serializable]
	public class StuCauseEvalSubmitRecord
	{
		public StuCauseEvalSubmitRecord()
		{
			m_RID = 0;

		}

		#region RID
		
		private int m_RID;
		
		public int RID
		{
			get { return m_RID; }
			set { m_RID = value; }
		}
		
		#endregion
		
		#region ListID
		
		private int? m_ListID;
		
		public int? ListID
		{
			get { return m_ListID; }
			set { m_ListID = value; }
		}
		
		#endregion
		
		#region ManagerID
		
		private int? m_ManagerID;
		
		public int? ManagerID
		{
			get { return m_ManagerID; }
			set { m_ManagerID = value; }
		}
		
		#endregion
		
		#region ClassID
		
		private int? m_ClassID;
		
		public int? ClassID
		{
			get { return m_ClassID; }
			set { m_ClassID = value; }
		}
		
		#endregion
		
		#region Status
		
		private int? m_Status;
		
		public int? Status
		{
			get { return m_Status; }
			set { m_Status = value; }
		}
		
		#endregion

        #region Daily

        private DateTime m_Daily;

        public DateTime Daily
        {
            get { return m_Daily; }
            set { m_Daily = value; }
        }

        #endregion


		
		#region Rewrite Equals and HashCode
		
		/// <summary>
		/// 
		/// </summary>
		public override bool Equals(object obj)
		{
			if( this == obj ) return true;
			if( ( obj == null ) || ( obj.GetType() != GetType() ) ) return false;
			StuCauseEvalSubmitRecord castObj = (StuCauseEvalSubmitRecord) obj;
			return ( castObj != null )
 && m_RID == castObj.RID;		}
		
		/// <summary>
		/// 用唯一值实现GetHashCode
		/// </summary>
		public override int GetHashCode()
		{
			int hash = 12;
			hash = hash * 12
 * m_RID.GetHashCode();			return hash;
		}
		
		#endregion
		
		
	}
}